/**
 * @file SubOffGroundSwitch.h
 * @author 
 * @brief 订阅离地开关信号topic
 * @version 1.0
 * @date 2020-08-19
 * 
 * @copyright Copyright (c) 2020
 * 
 */

#pragma once
#include <memory>
#include "rclcpp/rclcpp.hpp"
#include "std_msgs/msg/bool.hpp"

namespace behavior_controller
{
    namespace SubOffGroundSwitch
    {
        void SubOffGroundSwitchInfo(rclcpp::Node::SharedPtr &node_handle);
        void sub_callback(const std_msgs::msg::Bool::SharedPtr msg);
    }; // namespace SubOffGroundSwitch
} // namespace behavior_controller